<?php

declare (strict_types=1);
namespace App\Model;

use Hyperf\DbConnection\Model\Model;
/**
 * @property int $id 
 * @property string $name 
 * @property int $min_point 
 * @property int $max_point 
 * @property int $buy_money 
 * @property float $discount 
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 * @property string $deleted_at 
 */
class UserLevel extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'user_level';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'name',
        'min_point',
        'max_point',
        'buy_money',
        'discount'
    ];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'int', 'min_point' => 'integer', 'max_point' => 'integer', 'buy_money' => 'integer', 'discount' => 'float', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}